package com.zcf.service;

import com.zcf.dto.PasswordDto;
import com.zcf.pojo.Result;
import com.zcf.pojo.User;

/**
 * @author zcf
 */
public interface UserService {
    Result register(String username,String password);

    Result login(String username, String password);

    Result userInfo(String username);

    Result update(User user);

    Result updatePassword(PasswordDto passwordDto,String token);

    void updateUrl(String avatarUrl);
}
